<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html 
	xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
<f:subview>
	<a4j:status
		    	id="commonstatus"
        		onstart="Richfaces.showModalPanel('ajaxLoadingModalBox')"
        		onstop="Richfaces.hideModalPanel('ajaxLoadingModalBox') ">
    		</a4j:status>

			<rich:modalPanel id="ajaxLoadingModalBox" width="150" height="100" autosized="true" moveable="false">
				
				<f:facet name="header">
		            <h:panelGrid columns="1">
		            	<h:outputText value="Por Favor Espere..."/>
		            </h:panelGrid>
		        </f:facet>
			
				<table class="formulario" width="100%">
					<tr>
						<td></td>
						<td><h:graphicImage url="/img/process.gif" style="border:none;" /></td>
						<td></td>
					</tr>
				</table>
				
		        <h:panelGrid >
		            <h:panelGroup>
		            	<table class="formulario" width="100%">
							<tr>
								<td></td>
								<td><h:outputText style="text-align: center" value="Procesando..."/></td>
								<td></td>
							</tr>
						</table>
		            </h:panelGroup>
		        </h:panelGrid>
		    </rich:modalPanel>     
</f:subview>
</html>